//
//  MPDetailCell.m
//  MarkPlatform
//
//  Created by xiao6 on 2017/12/25.
//  Copyright © 2017年 AT. All rights reserved.
//

#import "MPDetailCell.h"
@interface MPDetailCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailTitleLabel;

@end

@implementation MPDetailCell

+ (CGFloat)cellHeight {
    return 50.f;
}
- (void)setModel:(MPBankModel *)model {
    _model = model;
    self.titleLabel.text = @"银行";
    if (_model.name) {
        self.detailTitleLabel.text = _model.name;
    }
    else {
        self.detailTitleLabel.text = @"请选择银行";
    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
